package cn.bonoon.kernel.support.services.handler;

import cn.bonoon.kernel.support.entities.EntityDeletable;
import cn.bonoon.kernel.support.entities.Persistable;

public class GetDeletableHandler implements GetHandler{
	@Override
	public boolean handler(Persistable entity) {
		return null != entity && !((EntityDeletable) entity).isDeleted();
	}
}
